* {
  box-sizing: border-box;
}

img {
  border: 0;
  max-width: 100%;
  height: auto;
  vertical-align: top;
}
.clear-float{
  clear: both;
  overflow: hidden;
}
.col-md-2{
  width: 140px;
  height: 140px;
  margin: 10px 10px 10px 0;
  float: left;
  padding: 10px;
  border: 1px solid rgba(187,187,187,.5);
  border-radius: 5px;
}
.upload-bOX{
  height: 118px;
  line-height: 118px;
  text-align: center;
  cursor: pointer;
  position: relative;
}
.upload-bOX input{
  width: 118px;
  height: 118px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
}
.col-md-3 {
  width: 25%;
  float: left;
  padding: 0 10px;
}

.img-name {
  text-align: center;
  padding: 10px 0;
}

.img-view-dialog {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.5);
}

.img-view-dialog-wrap{
  
}
.img-view-content {
    display: block;
    border-radius: 4px;
    padding: 10px;
    visibility: visible;
    background: #fff;
    transition: margin 0.6s, -webkit-transform 0.6s;
    transition: transform 0.6s, margin 0.6s;
    transition: transform 0.6s, margin 0.6s, -webkit-transform 0.6s;
    cursor: -webkit-grab;
    -webkit-backface-visibility: hidden;
    -webkit-animation: flyin 0.5s;
    animation: flyin 0.5s;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 520px;
    height: 520px;
    margin-top: -200px;
    margin-left: -260px;
    overflow: hidden;
}

.loadingImg.img-view-content {
  background: #fff;
}

.loadingImg .dialog-img {
  opacity: 1;
}

.img-view-content img {
  display: block;
  -moz-transition: all .6s;
  -o-transition: all .6s;
  -webkit-transition: all .6s;
  transition: all .6s;
  min-width: 0;
  max-width: none;
  min-height: 0;
  max-height: none;
  vertical-align: baseline;
  width: 100%;
  height: 100%;
}

.closing .img-view-mask {
  -webkit-backface-visibility: hidden;
  -webkit-animation: fadeout .5s;
  -moz-animation: fadeout .5s;
  animation: fadeout .5s;
}

.closing .img-view-content {
  -webkit-backface-visibility: hidden;
  -webkit-animation: flyout .5s;
  -moz-animation: flyout .5s;
  animation: flyout .5s;
}
.img-view-dialog-wrap{
  width: 500px;
  height: 560px;
  position: fixed;
  top: 50%;
  left: 50%;
  margin-top: -280px;
  margin-left: -250px;
}
.closing .dialog-tool {
  -webkit-backface-visibility: hidden;
  -webkit-animation: fadeout .5s;
  -moz-animation: fadeout .5s;
  animation: fadeout .5s;
}

.dialog-tool {
  z-index: 2;
  -webkit-backface-visibility: hidden;
  -webkit-animation: fadein 0.5s;
  -moz-animation: fadein 0.5s;
  animation: fadein 0.5s;
  height: 30px;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.dialog-tool>div{

}

.download-dialog{
  color: #fff;
  // position: fixed;
  // right: 100px;
  // top: 120px;
  cursor: pointer;
  padding:  0 10px;

}
.close-dialog {
  background: url(https://www.zhaodui.com.cn/pic/photoTheater.png) no-repeat -1px -128px;
  width: 20px;
  height: 20px;
  overflow: hidden;
  display: block;
  padding:  0 10px;
  // position: fixed;
  // right: 20px;
  // top: 120px;  
  cursor: pointer;
}
.download-dialog{
  background-image: url(https://www.zhaodui.com.cn/pic/download_icon.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 0 0;
  width: 20px;
  height: 20px;
  overflow: hidden;
  padding:  0 10px;

  display: block;
  // position: fixed;
  // right: 60px;
  // top: 120px;
  cursor: pointer;
}

.rotate-dialog {
  background-image: url(https://www.zhaodui.com.cn/pic/rotatea.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 0 0;
  width: 20px;
  height: 20px;
  overflow: hidden;
  display: block;
  padding:  0 10px;

  // position: fixed;
  // right: 60px;
  // top: 120px;
  cursor: pointer;
}

.rotate-dialoga{
  background-image: url(https://www.zhaodui.com.cn/pic/rotateb.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 0 0;
  width: 20px;
  height: 20px;
  overflow: hidden;
  display: block;
  padding:  0 10px;

  // position: fixed;
  // right: 160px;
  // top: 120px;
  cursor: pointer;
}

// .dialog-tool .rotate-dialog:hover {
//   background-position: 0 -20px;
// }

// .dialog-tool .close-dialog:hover {
//   background-position: -1px -149px;
// }

.dialog-tool .previous-dialog,
.dialog-tool .next-dialog,
.dialog-tool .next-dialog:hover,
.dialog-tool .previous-dialog:hover {
  background: url(https://www.zhaodui.com.cn/pic/photoTheater.png) no-repeat 0 0;
  background-position-x: 0px;
  background-position-y: 0px;
  width: 66px;
  height: 60px;
  line-height: 66px;
  display: block;
  position: fixed;
  top: 45%;
  cursor: pointer;
  overflow: hidden;
  font-size: 40px;
  font-weight: bold;
  margin-top: -30px;
  text-align: center;
}

.dialog-tool .next-dialog {
  background-position: 0 -65px;
  right: 0;
}

.dialog-tool .previous-dialog {
  left: 0;
  background-position: -70px -65px;
}

.dialog-tool .next-dialog:hover {
  background-position: 0 0;
}

.dialog-tool .previous-dialog:hover {
  background-position: -70px 0;
}

@-webkit-keyframes flyin {
  0% {
      opacity: 0;
      -webkit-transform: translateY(-40px);
      transform: translateY(-40px);
  }
  100% {
      opacity: 1;
      -webkit-transform: translateY(0);
      transform: translateY(0);
  }
}

@keyframes flyin {
  0% {
      opacity: 0;
      -webkit-transform: translateY(-40px);
      -ms-transform: translateY(-40px);
      transform: translateY(-40px);
  }
  100% {
      opacity: 1;
      -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
      transform: translateY(0);
  }
}

@-webkit-keyframes flyout {
  0% {
      opacity: 1;
      -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
      transform: translateY(0);
  }
  100% {
      opacity: 0;
      -webkit-transform: translateY(-40px);
      -ms-transform: translateY(-40px);
      transform: translateY(-40px);
  }
}

@keyframes flyout {
  0% {
      opacity: 1;
      -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
      transform: translateY(0);
  }
  100% {
      opacity: 0;
      -webkit-transform: translateY(-40px);
      -ms-transform: translateY(-40px);
      transform: translateY(-40px);
  }
}

@-webkit-keyframes fadeout {
  0% {
      opacity: 1;
  }
  100% {
      opacity: 0;
  }
}

@keyframes fadeout {
  0% {
      opacity: 1;
  }
  100% {
      opacity: 0;
  }
}

@-webkit-keyframes fadein {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }
}

@keyframes fadein {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }
}
.rotea{
  transform: rotate(90deg);
}
.roteb{
  transform: rotate(180deg);
}
.rotec{
  transform: rotate(270deg);
}
.roted{
  transform: rotate(360deg);
}
.rotee{
  transform: rotate(0deg);
}